<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\SignupForm */
use yii\helpers\Html;
use yii\widgets\ActiveForm;
$this->registerJsFile('/layer/layer.js');
$this->registerJsFile('/js/public.js');
$this->registerCssFile('/login/css/login.css');
$this->title = '用户注册-锐锋堂刀剑网';
$this->params['breadcrumbs'][] = $this->title;
$this->registerMetaTag([
    'name' => 'keywords',
    'content' => '用户注册-锐锋堂刀剑网'
]);
$this->registerMetaTag([
    'name' => 'description',
    'content' => '用户注册-锐锋堂刀剑网'
]);
?>
<div class="logo_box ClearFix">
				<div class="login_b_l ClearFix">
					<a href="" title="出发">
						<img src="/images/logo_img.jpg" style="width: 560px;height: 360px;" alt="出发"/>
					</a>
				</div>
				<div class="login_b_r ClearFix">
					<div class="loginul ClearFix">
					    <div class="login_h2 ClearFix">
						    <h2>用户注册</h2>
						    <div class="lognrtop">
								已有账号<a href="/site/login.html">在此登录</a>
							</div>
						</div>
					  <div class="co"> 
                        <div class="form">
                        <?php $from=ActiveForm::begin()?>
                           	<?=$from->field($model, 'tel',['options'=>['class'=>'item'],'inputOptions'=>['class'=>'itxt','placeholder'=>'请输入手机号码']])->textInput()->label(false)?>
							
                            <div class="item items"> 
                            <?=$from->field($model, 'code',['options'=>['class'=>''],'inputOptions'=>['class'=>'itxt itxt_yzm','placeholder'=>'请输入验证码']])->textInput(['maxlength'=>6])->label(false)?>

                                <input type='button' onclick='send(1,this)' class="ncm-btn ml5" value='获取验证码'>
                            </div>
                            <?=$from->field($model, 'password',['options'=>['class'=>'item'],'inputOptions'=>['class'=>'itxt','placeholder'=>'请输入密码']])->passwordInput()->label(false)?>
							<?=$from->field($model, 'rpassword',['options'=>['class'=>'item'],'inputOptions'=>['class'=>'itxt','placeholder'=>'请再次输入密码']])->passwordInput()->label(false)?>
							
                            <div class="item item5">
                                <div class="login-btn">
                                    <input type='submit' value='立即注册'>
                                </div>
                                <div class="agree">
                                    <input class="jdcheckbox" tabindex="8" name="agree" id="agree" checked="checked" type="checkbox">
                                    <label for="autoLogin">注册即表示同意锐锋堂<span><a href="" target="_blank">《用户服务协议》</a></span>条款</label>
                                </div>
                            </div>
                        <?php ActiveForm::end()?>
                        </div>
					   </div>
					</div>
				</div>
			</div>